@import '../../styles/variables.scss';

.container {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0 36rpx;
  background: linear-gradient(180deg, $background-gradient-start 0%, $background-gradient-end 100%);
  display: flex;
  flex-direction: column;
}

.nav-placeholder {
  height: $nav-height;
}

.greeting {
  margin-top: 8rpx;
  height: $nav-height;
  line-height: $nav-height;
  
  &-text {
    font-size: 40rpx;
    font-weight: 900;
  }
}

.question {
  height: 34rpx;
  line-height: 34rpx;
  
  &-text {
    font-size: 28rpx;
    font-weight: 500;
  }
}

.add-pet {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36rpx;
  width: 100%;
  flex: 1;
  min-height: 326rpx;
  border-radius: $border-radius-large;
  background: $white;
  border: $border-width solid $border-color;
  position: relative;
  
  &-image {
    width: 626rpx;
    height: 288rpx;
    position: absolute;
  }
  
  &-my-pet {
    width: 282rpx;
    height: 54rpx;
    position: relative;
    z-index: 10;
  }
}

.actions {
  margin: 50rpx 0;
  flex: 2;
  min-height: 378rpx;
  width: 100%;
  display: flex;
  justify-content: space-between;
  
  &-tasks {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 328rpx;
    border-radius: $border-radius-large;
    background: $white;
    border: 2px solid $border-color;
    padding: 32rpx 24rpx;
    flex: 1;
    task-list{
      height: 100%;
    }
  }
  
  &-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 24rpx;
    flex: 1;
  }
}

.knowledge-card {
  flex: 1;
  margin-bottom: 36rpx;
}